server:
  # servlet:
    # 配置项目路径
    # context-path: xxx
  # 端口号
  port: 9000

spring:
  application:
    name: ${projectName}
  # 其它配置文件
  # profiles:
    # active: dev

  # 数据源配置
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/${projectName}_db?serverTimezone=Asia/Shanghai
    username: [mysql登录用户名]
    password: [登录密码]
    # 连接池配置
    hikari:
      pool-name: DateHikariCP
      minimum-idle: 5
      idle-timeout: 1700000
      maximum-pool-size: 10
      auto-commit: true
      max-lifetime: 1800000
      connection-timeout: 30000
      connection-test-query: SELECT 1
	  
# Mybatis 相关配置
mybatis:
  type-aliases-package: ${packageName}
  config-location: classpath:config/mybatis.xml
  mapper-locations:
    - classpath:mapper/mysql/**/*Mapper.xml
